package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.order;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class BusinessOrderProfitListResponse extends SecurityResponse<BusinessOrderProfitListResponse.Body> {

    private static final long serialVersionUID = 1L;

	public BusinessOrderProfitListResponse() {
        this.body = new Body();
    }

    public BusinessOrderProfitListResponse(Integer code, String msg) {
        super(code,msg);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;
        
		private List<UserItem> items;

        public List<UserItem> getItems() {
            return items;
        }

        public void setItems(List<UserItem> items) {
            this.items = items;
        }
    }

    public static class UserItem {

    	private Long userId;
    	private String userName;
    	private Integer roleType;
    	private String roleTypeName;
    	private Double incomeRatio;
    	private String moneyStr;
    	private Date createDate;
    	
		public Long getUserId() {
			return userId;
		}
		public void setUserId(Long userId) {
			this.userId = userId;
		}
		public String getUserName() {
			return userName;
		}
		public void setUserName(String userName) {
			this.userName = userName;
		}
		public Integer getRoleType() {
			return roleType;
		}
		public void setRoleType(Integer roleType) {
			this.roleType = roleType;
		}
		public String getRoleTypeName() {
			return roleTypeName;
		}
		public void setRoleTypeName(String roleTypeName) {
			this.roleTypeName = roleTypeName;
		}
		public Double getIncomeRatio() {
			return incomeRatio;
		}
		public void setIncomeRatio(Double incomeRatio) {
			this.incomeRatio = incomeRatio;
		}
		public String getMoneyStr() {
			return moneyStr;
		}
		public void setMoneyStr(String moneyStr) {
			this.moneyStr = moneyStr;
		}
		public Date getCreateDate() {
			return createDate;
		}
		public void setCreateDate(Date createDate) {
			this.createDate = createDate;
		}
    	
    }
}
